object MethodDemo01 {
  def main(args: Array[String]): Unit = {
    val dogSon = new DogSon
    println(dogSon.cal(10,11))
  }
}
class DogSon{
  private var sal: Double = _
  var food: String =_
  def cal(n1:Int ,n2 :Int):Int = {
    n1+n2
  }
}